Searched refs:nonce (Results 1 – 8 of 8) sorted by relevance
/libcore/ojluni/src/main/java/javax/crypto/spec/ |
D | ChaCha20ParameterSpec.java | 49 private final byte[] nonce; field in ChaCha20ParameterSpec 63 public ChaCha20ParameterSpec(byte[] nonce, int counter) { in ChaCha20ParameterSpec() argument 66 Objects.requireNonNull(nonce, "Nonce must be non-null"); in ChaCha20ParameterSpec() 67 this.nonce = nonce.clone(); in ChaCha20ParameterSpec() 68 if (this.nonce.length != NONCE_LENGTH) { in ChaCha20ParameterSpec() 81 return nonce.clone(); in getNonce()
|
/libcore/luni/src/test/java/tests/javax/crypto/spec/ |
D | ChaCha20ParameterSpecTest.java | 36 byte[] nonce = new byte[] { in constructor_withValidValues() 41 ChaCha20ParameterSpec spec = new ChaCha20ParameterSpec(nonce, counter); in constructor_withValidValues() 44 assertArrayEquals(nonce, spec.getNonce()); in constructor_withValidValues() 54 byte[] nonce = new byte[] { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07 }; in constructor_withNonceTooShort() 55 assertThrows(IllegalArgumentException.class, () -> new ChaCha20ParameterSpec(nonce, in constructor_withNonceTooShort()
|
/libcore/ojluni/src/main/java/sun/security/timestamp/ |
D | TimestampToken.java | 81 private BigInteger nonce; field in TimestampToken 115 return nonce; in getNonce() 161 nonce = d.getBigInteger(); in parse()
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | OCSPRequest.java | 85 private byte[] nonce; field in OCSPRequest 122 nonce = ext.getValue(); in encodeBytes() 154 return nonce; in getNonce()
|
D | OCSPResponse.java | 330 byte[] nonce = null; in OCSPResponse() 344 nonce = ext.getExtensionValue(); in OCSPResponse() 353 responseNonce = nonce; in OCSPResponse() 391 X509Certificate responderCert, Date date, byte[] nonce) in verify() argument 589 if (nonce != null) { in verify() 590 if (responseNonce != null && !Arrays.equals(nonce, responseNonce)) { in verify()
|
D | RevocationChecker.java | 703 byte[] nonce = null; 706 nonce = ext.getValue(); 710 responderCert, params.date(), nonce);
|
/libcore/ojluni/annotations/flagged_api/javax/crypto/spec/ |
D | ChaCha20ParameterSpec.annotated.java | 33 public ChaCha20ParameterSpec(byte[] nonce, int counter) { throw new RuntimeException("Stub!"); } in ChaCha20ParameterSpec() argument
|
/libcore/ojluni/annotations/hiddenapi/sun/security/timestamp/ |
D | TimestampToken.java | 74 private java.math.BigInteger nonce; field in TimestampToken
|