Skip to content

Commit 2d1fcde

Browse files
committed
Remove crypto.RSAPublicKey.
It does not seem to correspond to any specified interface, and is not used anywhere.
1 parent 61e2178 commit 2d1fcde

File tree

3 files changed

+0
-20
lines changed

3 files changed

+0
-20
lines changed

api-reports/2_12.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24346,8 +24346,6 @@ crypto/Pbkdf2Params[JT] var iterations: Double
2434624346
crypto/Pbkdf2Params[JT] var name: String
2434724347
crypto/Pbkdf2Params[JT] var salt: BufferSource
2434824348
crypto/Pbkdf2Params[SO] def apply(name: String, salt: BufferSource, iterations: Long, hash: HashAlgorithmIdentifier): Pbkdf2Params
24349-
crypto/RSAPublicKey[JT] def e: String
24350-
crypto/RSAPublicKey[JT] def n: String
2435124349
crypto/RsaHashedImportParams[JT] var hash: HashAlgorithmIdentifier
2435224350
crypto/RsaHashedImportParams[JT] var name: String
2435324351
crypto/RsaHashedImportParams[SO] def apply(name: String, hash: HashAlgorithmIdentifier): RsaHashedImportParams

api-reports/2_13.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24346,8 +24346,6 @@ crypto/Pbkdf2Params[JT] var iterations: Double
2434624346
crypto/Pbkdf2Params[JT] var name: String
2434724347
crypto/Pbkdf2Params[JT] var salt: BufferSource
2434824348
crypto/Pbkdf2Params[SO] def apply(name: String, salt: BufferSource, iterations: Long, hash: HashAlgorithmIdentifier): Pbkdf2Params
24349-
crypto/RSAPublicKey[JT] def e: String
24350-
crypto/RSAPublicKey[JT] def n: String
2435124349
crypto/RsaHashedImportParams[JT] var hash: HashAlgorithmIdentifier
2435224350
crypto/RsaHashedImportParams[JT] var name: String
2435324351
crypto/RsaHashedImportParams[SO] def apply(name: String, hash: HashAlgorithmIdentifier): RsaHashedImportParams

src/main/scala/org/scalajs/dom/crypto/Crypto.scala

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -850,19 +850,3 @@ object KeyFormat {
850850
/** The key is a JsonWebKey dictionary encoded as a JavaScript object */
851851
val jwk: KeyFormat = "jwk".asInstanceOf[KeyFormat]
852852
}
853-
854-
//
855-
// Todo: fill in the full list of types defined in JSON Web Key (JWK) RFC
856-
// http://tools.ietf.org/html/rfc7517
857-
//
858-
859-
/** see example http://tools.ietf.org/html/rfc7517#appendix-A.1 //todo: where is the specification of n and e? */
860-
@js.native
861-
trait RSAPublicKey extends js.Object {
862-
863-
/** modulus, as a base64 URL encoded String */
864-
def n: String = js.native
865-
866-
/** exponent, as a base64 URL encoded String */
867-
def e: String = js.native
868-
}

0 commit comments

Comments
 (0)