Skip to content

Commit 31d3ca0

Browse files
authored
Merge pull request #78 from niscy-eudiw/feature/drop-support-vc+sd-jwt
Drop support for vc+sd-jwt SD-JWT VC media type
2 parents 1f56ceb + 40eb277 commit 31d3ca0

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

Sources/Types/Spec.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,6 @@ struct SdJwtVcSpec {
6666
static let wellKnownSuffixJWTVcIssuer = "jwt-vc-issuer"
6767
static let wellKnownJWTVcIssuer = "/.well-known/\(wellKnownSuffixJWTVcIssuer)"
6868

69-
/// Deprecated: Removed from SD-JWT-VC
70-
@available(*, deprecated, message: "Replaced with SdJwtVcSpec.mediaSubtypeDCSdJWT")
71-
static let mediaSubtypeVCSdJWT = "vc+sd-jwt"
72-
7369
// MARK: - Media Types
7470
static let mediaSubtypeDCSdJWT = "dc+sd-jwt"
7571
static let mediaTypeApplicationDCSdJWT = "application/\(mediaSubtypeDCSdJWT)"

Sources/Verifier/SDJWTVCVerifier.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import JSONWebToken
2222

2323
private let HTTPS_URI_SCHEME = "https"
2424
private let DID_URI_SCHEME = "did"
25-
private let SD_JWT_VC_TYPE = "vc+sd-jwt"
25+
private let SD_JWT_DC_TYPE = "dc+sd-jwt"
2626

2727
/**
2828
* A protocol to look up public keys from DIDs/DID URLs.

0 commit comments

Comments
 (0)