Home
last modified time | relevance | path

Searched defs:encoded (Results 1 – 25 of 28) sorted by relevance

12

/libcore/luni/src/main/java/libcore/util/
DHexEncoding.java70 public static byte[] decode(String encoded) throws IllegalArgumentException { in decode()
81 …public static byte[] decode(String encoded, boolean allowSingleChar) throws IllegalArgumentExcepti… in decode()
92 public static byte[] decode(char[] encoded) throws IllegalArgumentException { in decode()
104 …public static byte[] decode(char[] encoded, boolean allowSingleChar) throws IllegalArgumentExcepti… in decode()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DPrivateKeyStub.java37 byte [] encoded = null; field in PrivateKeyStub
47 public PrivateKeyStub(String algorithm, String format, byte[] encoded) { in PrivateKeyStub()
DPublicKeyStub.java40 byte [] encoded = null; field in PublicKeyStub
45 public PublicKeyStub(String algorithm, String format, byte[] encoded) { in PublicKeyStub()
DKeyStoreTestSupport.java66 private byte[] encoded; field in KeyStoreTestSupport.SKey
68 public SKey(String type, byte[] encoded) { in SKey()
94 private byte[] encoded; field in KeyStoreTestSupport.MyPrivateKey
96 public MyPrivateKey(String algorithm, String format, byte[] encoded) { in MyPrivateKey()
DMyKeyPairGenerator1.java99 private byte[] encoded; field in MyKeyPairGenerator1.PubKey
125 private byte[] encoded; field in MyKeyPairGenerator1.PrivKey
DTestCertUtils.java151 private static final byte[] encoded = new byte[] { 1, 2, 3, 4, 5, 6, 7, field in TestCertUtils.TestCertPath
280 private static final byte[] encoded = new byte[] { 1, 2, 3, 4, 5, 6, 7, field in TestCertUtils.TestPublicKey
306 private static final byte[] encoded = new byte[] { 1, 2, 3, 4, 5, 6, 7, field in TestCertUtils.TestCertificate
/libcore/ojluni/annotations/hiddenapi/sun/security/provider/certpath/
DX509CertificatePair.java42 private X509CertificatePair(byte[] encoded) throws java.security.cert.CertificateException { in X509CertificatePair()
52 generateCertificatePair(byte[] encoded) throws java.security.cert.CertificateException { in generateCertificatePair()
108 private byte[] encoded; field in X509CertificatePair
/libcore/ojluni/src/main/java/java/security/
DPKCS12Attribute.java47 private byte[] encoded; field in PKCS12Attribute
124 public PKCS12Attribute(byte[] encoded) { in PKCS12Attribute()
252 private void parse(byte[] encoded) throws IOException { in parse()
DKeyRep.java110 private byte[] encoded; field in KeyRep
132 String format, byte[] encoded) { in KeyRep()
/libcore/ojluni/src/main/java/javax/net/ssl/
DSNIServerName.java53 private final byte[] encoded; field in SNIServerName
74 protected SNIServerName(int type, byte[] encoded) { in SNIServerName()
DSNIHostName.java162 public SNIHostName(byte[] encoded) { in SNIHostName()
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DX509CertificatePair.java80 private byte[] encoded; field in X509CertificatePair
118 private X509CertificatePair(byte[] encoded) throws CertificateException { in X509CertificatePair()
140 (byte[] encoded) throws CertificateException { in generateCertificatePair()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyFactoryTest.java508 private final byte[] encoded; field in KeyFactoryTest.TestPrivateKeySpec
517 private final byte[] encoded; field in KeyFactoryTest.TestPublicKeySpec
526 private final byte[] encoded; field in KeyFactoryTest.TestPrivateKey
532 public TestPrivateKey(byte[] encoded) { in TestPrivateKey()
551 private final byte[] encoded; field in KeyFactoryTest.TestPublicKey
557 public TestPublicKey(byte[] encoded) { in TestPublicKey()
DKeyRepTest.java162 public KeyRepChild(KeyRep.Type type, String algorithm, String format, byte[] encoded) { in KeyRepChild()
/libcore/luni/src/test/java/libcore/java/net/
DUrlEncodingTest.java258 private void assertEncoded(String encoded, String original) throws Exception { in assertEncoded()
264 private void assertRoundTrip(String original, String encoded) throws Exception { in assertRoundTrip()
/libcore/ojluni/src/main/java/java/security/cert/
DPolicyQualifierInfo.java100 public PolicyQualifierInfo(byte[] encoded) throws IOException { in PolicyQualifierInfo()
/libcore/ojluni/src/main/java/javax/crypto/
DEncryptedPrivateKeyInfo.java67 private byte[] encoded = null; field in EncryptedPrivateKeyInfo
77 public EncryptedPrivateKeyInfo(byte[] encoded) in EncryptedPrivateKeyInfo()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
DCipherThread.java50 public void checkEncodedData(byte[] original, byte[] encoded) in checkEncodedData()
60 public void checkPaddedEncodedData(byte[] original, byte[] encoded, int offset) in checkPaddedEncodedData()
/libcore/luni/src/test/java/libcore/java/util/
DLibcoreIoDerivedBase64Test.java68 String encoded = encode(inputBytes); in assertEncodeDecode() local
264 private static byte[] decode(byte[] encoded) { in decode()
DBase64Test.java845 private static void checkRoundTrip_allBytes(Encoder encoder, Decoder decoder, String encoded) { in checkRoundTrip_allBytes()
1053 private static String decodeToAscii(Decoder decoder, String encoded) throws Exception { in decodeToAscii()
1066 String encoded = encoder.encodeToString(plain.getBytes(US_ASCII)); in encodeFromAscii() local
1106 private static void assertRoundTrip(Encoder encoder, Decoder decoder, String encoded, in assertRoundTrip()
/libcore/ojluni/src/test/java/security/cert/
DAKISerialNumberTest.java141 private static X509Certificate getCertFromMimeEncoding(String encoded) in getCertFromMimeEncoding()
/libcore/luni/src/test/java/libcore/java/security/spec/
DAlgorithmParametersPSSTest.java106 byte[] encoded, PSSParameterSpec expected) throws Exception { in assertInitWithDerEncoded()
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DDefaultHostnameVerifierTest.java444 X509Certificate parseCertificate(String encoded) throws Exception { in parseCertificate()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/auth/x500/
DX500PrincipalTest.java3069 byte[] encoded) { in add()
3075 byte[] encoded, byte mask) { in add()
3081 String canonical, byte[] encoded) { in add()
3087 String canonical, byte[] encoded, byte mask) { in add()
/libcore/ojluni/annotations/hiddenapi/sun/security/x509/
DX500Name.java436 private byte[] encoded; field in X500Name

12