| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!--NewPage--> |
| <HTML> |
| <HEAD> |
| <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <TITLE> |
| EncryptionUtils (Apache CXF JavaDoc 3.0.0-SNAPSHOT API) |
| </TITLE> |
| |
| |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../stylesheet.css" TITLE="Style"> |
| |
| <SCRIPT type="text/javascript"> |
| function windowTitle() |
| { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="EncryptionUtils (Apache CXF JavaDoc 3.0.0-SNAPSHOT API)"; |
| } |
| } |
| </SCRIPT> |
| <NOSCRIPT> |
| </NOSCRIPT> |
| |
| </HEAD> |
| |
| <BODY BGCOLOR="white" onload="windowTitle();"> |
| <HR> |
| |
| |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <A NAME="navbar_top"><!-- --></A> |
| <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_top_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/EncryptionUtils.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| Apache CXF API</EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionException.html" title="class in org.apache.cxf.rs.security.oauth2.utils"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/HmacUtils.html" title="class in org.apache.cxf.rs.security.oauth2.utils"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../../../index.html?org/apache/cxf/rs/security/oauth2/utils/EncryptionUtils.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="EncryptionUtils.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_top"></A> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| |
| <HR> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <H2> |
| <FONT SIZE="-1"> |
| org.apache.cxf.rs.security.oauth2.utils</FONT> |
| <BR> |
| Class EncryptionUtils</H2> |
| <PRE> |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> |
| <IMG SRC="../../../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.cxf.rs.security.oauth2.utils.EncryptionUtils</B> |
| </PRE> |
| <HR> |
| <DL> |
| <DT><PRE>public final class <B>EncryptionUtils</B><DT>extends <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL> |
| </PRE> |
| |
| <P> |
| Encryption helpers |
| <P> |
| |
| <P> |
| <HR> |
| |
| <P> |
| |
| <!-- ========== METHOD SUMMARY =========== --> |
| |
| <A NAME="method_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Method Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/crypto/SecretKey.html?is-external=true" title="class or interface in javax.crypto">SecretKey</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionUtils.html#decodeSecretKey(java.lang.String)">decodeSecretKey</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> encodedSecretKey)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/crypto/SecretKey.html?is-external=true" title="class or interface in javax.crypto">SecretKey</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionUtils.html#decodeSecretKey(java.lang.String, java.lang.String)">decodeSecretKey</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> encodedSecretKey, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> algo)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static byte[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionUtils.html#decodeSequence(java.lang.String)">decodeSequence</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> encodedSequence)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static byte[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionUtils.html#decryptBytes(byte[], java.security.Key)">decryptBytes</A></B>(byte[] bytes, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/security/Key.html?is-external=true" title="class or interface in java.security">Key</A> secretKey)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static byte[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionUtils.html#decryptBytes(byte[], java.security.Key, org.apache.cxf.rs.security.oauth2.utils.SecretKeyProperties)">decryptBytes</A></B>(byte[] bytes, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/security/Key.html?is-external=true" title="class or interface in java.security">Key</A> secretKey, |
| <A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/SecretKeyProperties.html" title="class in org.apache.cxf.rs.security.oauth2.utils">SecretKeyProperties</A> keyProps)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/crypto/SecretKey.html?is-external=true" title="class or interface in javax.crypto">SecretKey</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionUtils.html#decryptSecretKey(java.lang.String, java.security.PrivateKey)">decryptSecretKey</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> encodedEncryptedSecretKey, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/security/PrivateKey.html?is-external=true" title="class or interface in java.security">PrivateKey</A> privateKey)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/crypto/SecretKey.html?is-external=true" title="class or interface in javax.crypto">SecretKey</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionUtils.html#decryptSecretKey(java.lang.String, org.apache.cxf.rs.security.oauth2.utils.SecretKeyProperties, java.security.PrivateKey)">decryptSecretKey</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> encodedEncryptedSecretKey, |
| <A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/SecretKeyProperties.html" title="class in org.apache.cxf.rs.security.oauth2.utils">SecretKeyProperties</A> props, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/security/PrivateKey.html?is-external=true" title="class or interface in java.security">PrivateKey</A> privateKey)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionUtils.html#decryptSequence(java.lang.String, java.security.Key)">decryptSequence</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> encodedData, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/security/Key.html?is-external=true" title="class or interface in java.security">Key</A> secretKey)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionUtils.html#decryptSequence(java.lang.String, java.security.Key, org.apache.cxf.rs.security.oauth2.utils.SecretKeyProperties)">decryptSequence</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> encodedData, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/security/Key.html?is-external=true" title="class or interface in java.security">Key</A> secretKey, |
| <A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/SecretKeyProperties.html" title="class in org.apache.cxf.rs.security.oauth2.utils">SecretKeyProperties</A> props)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionUtils.html#decryptSequence(java.lang.String, java.lang.String)">decryptSequence</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> encodedToken, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> encodedSecretKey)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionUtils.html#decryptSequence(java.lang.String, java.lang.String, org.apache.cxf.rs.security.oauth2.utils.SecretKeyProperties)">decryptSequence</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> encodedData, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> encodedSecretKey, |
| <A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/SecretKeyProperties.html" title="class in org.apache.cxf.rs.security.oauth2.utils">SecretKeyProperties</A> props)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionUtils.html#encodeBytes(byte[])">encodeBytes</A></B>(byte[] bytes)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionUtils.html#encodeSecretKey(javax.crypto.SecretKey)">encodeSecretKey</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/javax/crypto/SecretKey.html?is-external=true" title="class or interface in javax.crypto">SecretKey</A> key)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static byte[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionUtils.html#encryptBytes(byte[], java.security.Key)">encryptBytes</A></B>(byte[] bytes, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/security/Key.html?is-external=true" title="class or interface in java.security">Key</A> secretKey)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static byte[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionUtils.html#encryptBytes(byte[], java.security.Key, org.apache.cxf.rs.security.oauth2.utils.SecretKeyProperties)">encryptBytes</A></B>(byte[] bytes, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/security/Key.html?is-external=true" title="class or interface in java.security">Key</A> secretKey, |
| <A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/SecretKeyProperties.html" title="class in org.apache.cxf.rs.security.oauth2.utils">SecretKeyProperties</A> keyProps)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionUtils.html#encryptSecretKey(javax.crypto.SecretKey, java.security.PublicKey)">encryptSecretKey</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/javax/crypto/SecretKey.html?is-external=true" title="class or interface in javax.crypto">SecretKey</A> secretKey, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/security/PublicKey.html?is-external=true" title="class or interface in java.security">PublicKey</A> publicKey)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionUtils.html#encryptSecretKey(javax.crypto.SecretKey, java.security.PublicKey, org.apache.cxf.rs.security.oauth2.utils.SecretKeyProperties)">encryptSecretKey</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/javax/crypto/SecretKey.html?is-external=true" title="class or interface in javax.crypto">SecretKey</A> secretKey, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/security/PublicKey.html?is-external=true" title="class or interface in java.security">PublicKey</A> publicKey, |
| <A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/SecretKeyProperties.html" title="class in org.apache.cxf.rs.security.oauth2.utils">SecretKeyProperties</A> props)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionUtils.html#encryptSequence(java.lang.String, java.security.Key)">encryptSequence</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> sequence, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/security/Key.html?is-external=true" title="class or interface in java.security">Key</A> secretKey)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionUtils.html#encryptSequence(java.lang.String, java.security.Key, org.apache.cxf.rs.security.oauth2.utils.SecretKeyProperties)">encryptSequence</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> sequence, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/security/Key.html?is-external=true" title="class or interface in java.security">Key</A> secretKey, |
| <A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/SecretKeyProperties.html" title="class in org.apache.cxf.rs.security.oauth2.utils">SecretKeyProperties</A> keyProps)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/crypto/SecretKey.html?is-external=true" title="class or interface in javax.crypto">SecretKey</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionUtils.html#getSecretKey()">getSecretKey</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/crypto/SecretKey.html?is-external=true" title="class or interface in javax.crypto">SecretKey</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionUtils.html#getSecretKey(org.apache.cxf.rs.security.oauth2.utils.SecretKeyProperties)">getSecretKey</A></B>(<A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/SecretKeyProperties.html" title="class in org.apache.cxf.rs.security.oauth2.utils">SecretKeyProperties</A> props)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/crypto/SecretKey.html?is-external=true" title="class or interface in javax.crypto">SecretKey</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionUtils.html#getSecretKey(java.lang.String)">getSecretKey</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> symEncAlgo)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/crypto/SecretKey.html?is-external=true" title="class or interface in javax.crypto">SecretKey</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionUtils.html#recreateSecretKey(byte[], java.lang.String)">recreateSecretKey</A></B>(byte[] bytes, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> algo)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <P> |
| |
| <!-- ============ METHOD DETAIL ========== --> |
| |
| <A NAME="method_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Method Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="encodeSecretKey(javax.crypto.SecretKey)"><!-- --></A><H3> |
| encodeSecretKey</H3> |
| <PRE> |
| public static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>encodeSecretKey</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/javax/crypto/SecretKey.html?is-external=true" title="class or interface in javax.crypto">SecretKey</A> key) |
| throws <A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionException.html" title="class in org.apache.cxf.rs.security.oauth2.utils">EncryptionException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionException.html" title="class in org.apache.cxf.rs.security.oauth2.utils">EncryptionException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="encryptSecretKey(javax.crypto.SecretKey, java.security.PublicKey)"><!-- --></A><H3> |
| encryptSecretKey</H3> |
| <PRE> |
| public static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>encryptSecretKey</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/javax/crypto/SecretKey.html?is-external=true" title="class or interface in javax.crypto">SecretKey</A> secretKey, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/security/PublicKey.html?is-external=true" title="class or interface in java.security">PublicKey</A> publicKey) |
| throws <A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionException.html" title="class in org.apache.cxf.rs.security.oauth2.utils">EncryptionException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionException.html" title="class in org.apache.cxf.rs.security.oauth2.utils">EncryptionException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="encryptSecretKey(javax.crypto.SecretKey, java.security.PublicKey, org.apache.cxf.rs.security.oauth2.utils.SecretKeyProperties)"><!-- --></A><H3> |
| encryptSecretKey</H3> |
| <PRE> |
| public static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>encryptSecretKey</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/javax/crypto/SecretKey.html?is-external=true" title="class or interface in javax.crypto">SecretKey</A> secretKey, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/security/PublicKey.html?is-external=true" title="class or interface in java.security">PublicKey</A> publicKey, |
| <A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/SecretKeyProperties.html" title="class in org.apache.cxf.rs.security.oauth2.utils">SecretKeyProperties</A> props) |
| throws <A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionException.html" title="class in org.apache.cxf.rs.security.oauth2.utils">EncryptionException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionException.html" title="class in org.apache.cxf.rs.security.oauth2.utils">EncryptionException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getSecretKey()"><!-- --></A><H3> |
| getSecretKey</H3> |
| <PRE> |
| public static <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/crypto/SecretKey.html?is-external=true" title="class or interface in javax.crypto">SecretKey</A> <B>getSecretKey</B>() |
| throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getSecretKey(java.lang.String)"><!-- --></A><H3> |
| getSecretKey</H3> |
| <PRE> |
| public static <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/crypto/SecretKey.html?is-external=true" title="class or interface in javax.crypto">SecretKey</A> <B>getSecretKey</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> symEncAlgo) |
| throws <A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionException.html" title="class in org.apache.cxf.rs.security.oauth2.utils">EncryptionException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionException.html" title="class in org.apache.cxf.rs.security.oauth2.utils">EncryptionException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getSecretKey(org.apache.cxf.rs.security.oauth2.utils.SecretKeyProperties)"><!-- --></A><H3> |
| getSecretKey</H3> |
| <PRE> |
| public static <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/crypto/SecretKey.html?is-external=true" title="class or interface in javax.crypto">SecretKey</A> <B>getSecretKey</B>(<A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/SecretKeyProperties.html" title="class in org.apache.cxf.rs.security.oauth2.utils">SecretKeyProperties</A> props) |
| throws <A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionException.html" title="class in org.apache.cxf.rs.security.oauth2.utils">EncryptionException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionException.html" title="class in org.apache.cxf.rs.security.oauth2.utils">EncryptionException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="decryptSequence(java.lang.String, java.lang.String)"><!-- --></A><H3> |
| decryptSequence</H3> |
| <PRE> |
| public static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>decryptSequence</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> encodedToken, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> encodedSecretKey) |
| throws <A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionException.html" title="class in org.apache.cxf.rs.security.oauth2.utils">EncryptionException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionException.html" title="class in org.apache.cxf.rs.security.oauth2.utils">EncryptionException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="decryptSequence(java.lang.String, java.lang.String, org.apache.cxf.rs.security.oauth2.utils.SecretKeyProperties)"><!-- --></A><H3> |
| decryptSequence</H3> |
| <PRE> |
| public static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>decryptSequence</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> encodedData, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> encodedSecretKey, |
| <A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/SecretKeyProperties.html" title="class in org.apache.cxf.rs.security.oauth2.utils">SecretKeyProperties</A> props) |
| throws <A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionException.html" title="class in org.apache.cxf.rs.security.oauth2.utils">EncryptionException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionException.html" title="class in org.apache.cxf.rs.security.oauth2.utils">EncryptionException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="decryptSequence(java.lang.String, java.security.Key)"><!-- --></A><H3> |
| decryptSequence</H3> |
| <PRE> |
| public static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>decryptSequence</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> encodedData, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/security/Key.html?is-external=true" title="class or interface in java.security">Key</A> secretKey) |
| throws <A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionException.html" title="class in org.apache.cxf.rs.security.oauth2.utils">EncryptionException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionException.html" title="class in org.apache.cxf.rs.security.oauth2.utils">EncryptionException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="decryptSequence(java.lang.String, java.security.Key, org.apache.cxf.rs.security.oauth2.utils.SecretKeyProperties)"><!-- --></A><H3> |
| decryptSequence</H3> |
| <PRE> |
| public static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>decryptSequence</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> encodedData, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/security/Key.html?is-external=true" title="class or interface in java.security">Key</A> secretKey, |
| <A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/SecretKeyProperties.html" title="class in org.apache.cxf.rs.security.oauth2.utils">SecretKeyProperties</A> props) |
| throws <A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionException.html" title="class in org.apache.cxf.rs.security.oauth2.utils">EncryptionException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionException.html" title="class in org.apache.cxf.rs.security.oauth2.utils">EncryptionException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="encryptSequence(java.lang.String, java.security.Key)"><!-- --></A><H3> |
| encryptSequence</H3> |
| <PRE> |
| public static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>encryptSequence</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> sequence, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/security/Key.html?is-external=true" title="class or interface in java.security">Key</A> secretKey) |
| throws <A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionException.html" title="class in org.apache.cxf.rs.security.oauth2.utils">EncryptionException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionException.html" title="class in org.apache.cxf.rs.security.oauth2.utils">EncryptionException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="encryptSequence(java.lang.String, java.security.Key, org.apache.cxf.rs.security.oauth2.utils.SecretKeyProperties)"><!-- --></A><H3> |
| encryptSequence</H3> |
| <PRE> |
| public static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>encryptSequence</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> sequence, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/security/Key.html?is-external=true" title="class or interface in java.security">Key</A> secretKey, |
| <A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/SecretKeyProperties.html" title="class in org.apache.cxf.rs.security.oauth2.utils">SecretKeyProperties</A> keyProps) |
| throws <A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionException.html" title="class in org.apache.cxf.rs.security.oauth2.utils">EncryptionException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionException.html" title="class in org.apache.cxf.rs.security.oauth2.utils">EncryptionException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="encodeBytes(byte[])"><!-- --></A><H3> |
| encodeBytes</H3> |
| <PRE> |
| public static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>encodeBytes</B>(byte[] bytes) |
| throws <A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionException.html" title="class in org.apache.cxf.rs.security.oauth2.utils">EncryptionException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionException.html" title="class in org.apache.cxf.rs.security.oauth2.utils">EncryptionException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="encryptBytes(byte[], java.security.Key)"><!-- --></A><H3> |
| encryptBytes</H3> |
| <PRE> |
| public static byte[] <B>encryptBytes</B>(byte[] bytes, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/security/Key.html?is-external=true" title="class or interface in java.security">Key</A> secretKey) |
| throws <A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionException.html" title="class in org.apache.cxf.rs.security.oauth2.utils">EncryptionException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionException.html" title="class in org.apache.cxf.rs.security.oauth2.utils">EncryptionException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="encryptBytes(byte[], java.security.Key, org.apache.cxf.rs.security.oauth2.utils.SecretKeyProperties)"><!-- --></A><H3> |
| encryptBytes</H3> |
| <PRE> |
| public static byte[] <B>encryptBytes</B>(byte[] bytes, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/security/Key.html?is-external=true" title="class or interface in java.security">Key</A> secretKey, |
| <A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/SecretKeyProperties.html" title="class in org.apache.cxf.rs.security.oauth2.utils">SecretKeyProperties</A> keyProps) |
| throws <A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionException.html" title="class in org.apache.cxf.rs.security.oauth2.utils">EncryptionException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionException.html" title="class in org.apache.cxf.rs.security.oauth2.utils">EncryptionException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="decryptBytes(byte[], java.security.Key)"><!-- --></A><H3> |
| decryptBytes</H3> |
| <PRE> |
| public static byte[] <B>decryptBytes</B>(byte[] bytes, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/security/Key.html?is-external=true" title="class or interface in java.security">Key</A> secretKey) |
| throws <A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionException.html" title="class in org.apache.cxf.rs.security.oauth2.utils">EncryptionException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionException.html" title="class in org.apache.cxf.rs.security.oauth2.utils">EncryptionException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="decryptBytes(byte[], java.security.Key, org.apache.cxf.rs.security.oauth2.utils.SecretKeyProperties)"><!-- --></A><H3> |
| decryptBytes</H3> |
| <PRE> |
| public static byte[] <B>decryptBytes</B>(byte[] bytes, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/security/Key.html?is-external=true" title="class or interface in java.security">Key</A> secretKey, |
| <A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/SecretKeyProperties.html" title="class in org.apache.cxf.rs.security.oauth2.utils">SecretKeyProperties</A> keyProps) |
| throws <A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionException.html" title="class in org.apache.cxf.rs.security.oauth2.utils">EncryptionException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionException.html" title="class in org.apache.cxf.rs.security.oauth2.utils">EncryptionException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="decodeSecretKey(java.lang.String)"><!-- --></A><H3> |
| decodeSecretKey</H3> |
| <PRE> |
| public static <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/crypto/SecretKey.html?is-external=true" title="class or interface in javax.crypto">SecretKey</A> <B>decodeSecretKey</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> encodedSecretKey) |
| throws <A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionException.html" title="class in org.apache.cxf.rs.security.oauth2.utils">EncryptionException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionException.html" title="class in org.apache.cxf.rs.security.oauth2.utils">EncryptionException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="decodeSecretKey(java.lang.String, java.lang.String)"><!-- --></A><H3> |
| decodeSecretKey</H3> |
| <PRE> |
| public static <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/crypto/SecretKey.html?is-external=true" title="class or interface in javax.crypto">SecretKey</A> <B>decodeSecretKey</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> encodedSecretKey, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> algo) |
| throws <A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionException.html" title="class in org.apache.cxf.rs.security.oauth2.utils">EncryptionException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionException.html" title="class in org.apache.cxf.rs.security.oauth2.utils">EncryptionException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="decryptSecretKey(java.lang.String, java.security.PrivateKey)"><!-- --></A><H3> |
| decryptSecretKey</H3> |
| <PRE> |
| public static <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/crypto/SecretKey.html?is-external=true" title="class or interface in javax.crypto">SecretKey</A> <B>decryptSecretKey</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> encodedEncryptedSecretKey, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/security/PrivateKey.html?is-external=true" title="class or interface in java.security">PrivateKey</A> privateKey) |
| throws <A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionException.html" title="class in org.apache.cxf.rs.security.oauth2.utils">EncryptionException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionException.html" title="class in org.apache.cxf.rs.security.oauth2.utils">EncryptionException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="decryptSecretKey(java.lang.String, org.apache.cxf.rs.security.oauth2.utils.SecretKeyProperties, java.security.PrivateKey)"><!-- --></A><H3> |
| decryptSecretKey</H3> |
| <PRE> |
| public static <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/crypto/SecretKey.html?is-external=true" title="class or interface in javax.crypto">SecretKey</A> <B>decryptSecretKey</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> encodedEncryptedSecretKey, |
| <A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/SecretKeyProperties.html" title="class in org.apache.cxf.rs.security.oauth2.utils">SecretKeyProperties</A> props, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/security/PrivateKey.html?is-external=true" title="class or interface in java.security">PrivateKey</A> privateKey) |
| throws <A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionException.html" title="class in org.apache.cxf.rs.security.oauth2.utils">EncryptionException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionException.html" title="class in org.apache.cxf.rs.security.oauth2.utils">EncryptionException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="recreateSecretKey(byte[], java.lang.String)"><!-- --></A><H3> |
| recreateSecretKey</H3> |
| <PRE> |
| public static <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/crypto/SecretKey.html?is-external=true" title="class or interface in javax.crypto">SecretKey</A> <B>recreateSecretKey</B>(byte[] bytes, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> algo)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="decodeSequence(java.lang.String)"><!-- --></A><H3> |
| decodeSequence</H3> |
| <PRE> |
| public static byte[] <B>decodeSequence</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> encodedSequence) |
| throws <A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionException.html" title="class in org.apache.cxf.rs.security.oauth2.utils">EncryptionException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionException.html" title="class in org.apache.cxf.rs.security.oauth2.utils">EncryptionException</A></CODE></DL> |
| </DD> |
| </DL> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <HR> |
| |
| |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <A NAME="navbar_bottom"><!-- --></A> |
| <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_bottom_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/EncryptionUtils.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| Apache CXF API</EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/EncryptionException.html" title="class in org.apache.cxf.rs.security.oauth2.utils"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../../../org/apache/cxf/rs/security/oauth2/utils/HmacUtils.html" title="class in org.apache.cxf.rs.security.oauth2.utils"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../../../index.html?org/apache/cxf/rs/security/oauth2/utils/EncryptionUtils.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="EncryptionUtils.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_bottom"></A> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| |
| <HR> |
| Apache CXF |
| </BODY> |
| </HTML> |